package com.five.admin.threadLocal;

import com.five.admin.dto.AdminThreadLocalDto;

public class AdminThreadLocal {
    private static final ThreadLocal<AdminThreadLocalDto> adminThreadLocal = new ThreadLocal<>();

    public static void set(AdminThreadLocalDto adminThreadLocalDto){
        adminThreadLocal.set(adminThreadLocalDto);
    }

    public static AdminThreadLocalDto get(){
        return adminThreadLocal.get();
    }

    public static void remove(){
        adminThreadLocal.remove();
    }
}
